package com.atguigu.springcloud.service;

import org.springframework.stereotype.Service;

@Service
public class PaymentFallbackService implements PaymentHystrixService{
    @Override
    public String OK(Integer id) {
        return "OK方法异常（运行报错，超时或者宕机）了";
    }

    @Override
    public String TimeOut(Integer id) {
        return "TimeOut方法异常（运行报错，超时或者宕机）了";
    }
}
